package com.pactera.madp.cp.service.sync.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pactera.madp.cp.api.entity.sync.SyncSaStateEntity;
import com.pactera.madp.cp.mapper.sync.SyncSaStateMapper;
import com.pactera.madp.cp.service.sync.SyncSaStateService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @title 经理视图 -> 神策同步状态表 业务接口实现
 * @date 2022-05-14
 * @author Deming.Chang
 */
@Slf4j
@Service
@RequiredArgsConstructor
public class SyncSaStateServiceImpl extends ServiceImpl<SyncSaStateMapper, SyncSaStateEntity> implements SyncSaStateService {

    @Override
    public Long getOneLastMaxReceiveTime() {
        return baseMapper.selectOneLastMaxReceiveTime();
    }

}

